<template>
  <label :for="name" v-if="value">{{ value }}</label>
</template>

<script>
export default {
  props: ["value", "name"],
};
</script>

<style>
label {
  display: inline-block;
  min-width: 60px;
  text-align: right;
  margin-right: 10px;
}
</style>